package com.bw.good.api

import com.bawei.common.api.BaseApiServer
import com.bawei.network.BaseResGood
import com.bawei.network.BaseResponse
import com.bw.good.entity.GoodEntity
import retrofit2.http.GET
import retrofit2.http.Query

/**
 * 商品列表API
 */
interface GoodServerApi: BaseApiServer {

    @GET("/goods/info")
    suspend fun getGoodList(@Query("category_id") categoryId: Int, @Query("currentPage") currentPage: Int, @Query("pageSize") pageSize: Int): BaseResGood<List<GoodEntity>>
}